<div id="main_list" class="span-24 last main">
    <div class="span-18">
        <div class="section_local_ads">
            <h2><?=$this->translate ( 'Change your location' );?></h2>

            <?php
                if (count ( $this->mensajes ) > 0) {
                    echo '<div class="success"><h2>';
                    foreach ( $this->mensajes as $msg ) {
                        echo $msg . '<br>';
                    }
                    echo '</h2></div>';
                }
            ?>

            <?php if (isset ( $this->error )) : ?>
                <div class="error"><?=$this->escape ( $this->error );?></div>
            <?php endif; ?>

            <div class="section_form">
                <form name="loca" action="<?=$this->escape ( $this->form->getAction () )?>"
                    method="<?=$this->escape ( $this->form->getMethod () )?>">
                    <fieldset><legend><?=$this->translate ( 'Please, write your location' );?></legend>
    
                    <?=$this->form;?>
                    <?=$this->translate ( 'Our autosuggest system (based on your IP) says you are located near:').' '.
                    '<br /><a class="ads_section" href="/'.$this->lang.'/location/change2/?location='.$this->escape($this->suggestIP).'" > '.$this->suggestIP .'</a>';?>
                    </fieldset>
                </form>
            </div>
        </div>
    </div>
    <div class="span-6 last">        
        <div class="advertising">
                <!-- BEGIN PARTNER PROGRAM - DO NOT CHANGE THE PARAMETERS OF THE HYPERLINK -->
                <script language="javascript" type="text/javascript" src="http://program.epartner.es/view.asp?ref=570686&site=8346&type=html&hnb=5&js=1"></script>
                <noscript><a href="http://web.epartner.es/click.asp?ref=570686&site=8346&type=b1&bnb=1" target="_blank">
                <img src="http://program.epartner.es/view.asp?ref=570686&site=8346&b=1" border="0"/></a><br /></noscript>
                <!-- END PARTNER PROGRAM -->
        </div>
    </div>
</div> <!-- /main -->

